function validateForm()
{
  var retVal = new Boolean("true");

  var email = document.forms["loginForm"]["login_email"].value;
  var password = document.forms["loginForm"]["login_password"].value;

  var alertString="You must provide an e-mail and password to login.";
  
  if ( email==null || email=="" )
  {
    retVal = false;
  }
  
  if ( password==null || password=="" )
  {
	retVal = false;
  }
  
  if ( !retVal )
  {
    alert(alertString);
  }

  return retVal;
}